Updated to most recent libraries and error code stuff. Fixed preventing auto-finding last song if song_id out of range (and same with album_id).